package com.softeem.springcloud.dao;

import com.softeem.springcloud.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @program: springcloud
 * @author: zcp_will
 * @create: 2020-09-16 20:55
 * @description
 **/
@Mapper
@Repository
public interface DeptDao {

    public boolean addDept(Dept dept);

    public Dept quaryDept(int id);

    public List<Dept> quaryAll();
}
